package com.study;

import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;

public class CountDownLatchTest3 {

    public static final ConcurrentHashMap map = new ConcurrentHashMap();
    public static void main(String[] args) throws InterruptedException {
        int count = 0;
        while(count < 100){
            test(count);
            count++;
        }
    }
    public static void test(int key) throws InterruptedException {
        int COUNT = 200;
        final CountDownLatch countDownLatch = new CountDownLatch(COUNT);
        WorkerUuidCount worker0 = new WorkerUuidCount("0", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker1 = new WorkerUuidCount("1", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker2 = new WorkerUuidCount("2", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker3 = new WorkerUuidCount("3", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker4 = new WorkerUuidCount("4", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker5 = new WorkerUuidCount("5", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker6 = new WorkerUuidCount("6", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker7 = new WorkerUuidCount("7", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker8 = new WorkerUuidCount("8", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker9 = new WorkerUuidCount("9", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker10 = new WorkerUuidCount("10", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker11 = new WorkerUuidCount("11", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker12 = new WorkerUuidCount("12", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker13 = new WorkerUuidCount("13", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker14 = new WorkerUuidCount("14", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker15 = new WorkerUuidCount("15", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker16 = new WorkerUuidCount("16", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker17 = new WorkerUuidCount("17", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker18 = new WorkerUuidCount("18", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker19 = new WorkerUuidCount("19", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker20 = new WorkerUuidCount("20", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker21 = new WorkerUuidCount("21", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker22 = new WorkerUuidCount("22", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker23 = new WorkerUuidCount("23", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker24 = new WorkerUuidCount("24", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker25 = new WorkerUuidCount("25", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker26 = new WorkerUuidCount("26", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker27 = new WorkerUuidCount("27", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker28 = new WorkerUuidCount("28", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker29 = new WorkerUuidCount("29", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker30 = new WorkerUuidCount("30", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker31 = new WorkerUuidCount("31", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker32 = new WorkerUuidCount("32", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker33 = new WorkerUuidCount("33", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker34 = new WorkerUuidCount("34", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker35 = new WorkerUuidCount("35", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker36 = new WorkerUuidCount("36", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker37 = new WorkerUuidCount("37", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker38 = new WorkerUuidCount("38", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker39 = new WorkerUuidCount("39", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker40 = new WorkerUuidCount("40", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker41 = new WorkerUuidCount("41", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker42 = new WorkerUuidCount("42", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker43 = new WorkerUuidCount("43", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker44 = new WorkerUuidCount("44", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker45 = new WorkerUuidCount("45", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker46 = new WorkerUuidCount("46", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker47 = new WorkerUuidCount("47", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker48 = new WorkerUuidCount("48", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker49 = new WorkerUuidCount("49", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker50 = new WorkerUuidCount("50", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker51 = new WorkerUuidCount("51", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker52 = new WorkerUuidCount("52", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker53 = new WorkerUuidCount("53", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker54 = new WorkerUuidCount("54", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker55 = new WorkerUuidCount("55", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker56 = new WorkerUuidCount("56", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker57 = new WorkerUuidCount("57", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker58 = new WorkerUuidCount("58", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker59 = new WorkerUuidCount("59", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker60 = new WorkerUuidCount("60", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker61 = new WorkerUuidCount("61", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker62 = new WorkerUuidCount("62", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker63 = new WorkerUuidCount("63", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker64 = new WorkerUuidCount("64", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker65 = new WorkerUuidCount("65", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker66 = new WorkerUuidCount("66", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker67 = new WorkerUuidCount("67", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker68 = new WorkerUuidCount("68", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker69 = new WorkerUuidCount("69", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker70 = new WorkerUuidCount("70", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker71 = new WorkerUuidCount("71", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker72 = new WorkerUuidCount("72", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker73 = new WorkerUuidCount("73", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker74 = new WorkerUuidCount("74", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker75 = new WorkerUuidCount("75", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker76 = new WorkerUuidCount("76", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker77 = new WorkerUuidCount("77", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker78 = new WorkerUuidCount("78", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker79 = new WorkerUuidCount("79", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker80 = new WorkerUuidCount("80", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker81 = new WorkerUuidCount("81", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker82 = new WorkerUuidCount("82", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker83 = new WorkerUuidCount("83", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker84 = new WorkerUuidCount("84", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker85 = new WorkerUuidCount("85", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker86 = new WorkerUuidCount("86", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker87 = new WorkerUuidCount("87", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker88 = new WorkerUuidCount("88", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker89 = new WorkerUuidCount("89", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker90 = new WorkerUuidCount("90", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker91 = new WorkerUuidCount("91", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker92 = new WorkerUuidCount("92", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker93 = new WorkerUuidCount("93", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker94 = new WorkerUuidCount("94", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker95 = new WorkerUuidCount("95", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker96 = new WorkerUuidCount("96", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker97 = new WorkerUuidCount("97", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker98 = new WorkerUuidCount("98", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker99 = new WorkerUuidCount("99", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker100 = new WorkerUuidCount("100", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker101 = new WorkerUuidCount("101", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker102 = new WorkerUuidCount("102", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker103 = new WorkerUuidCount("103", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker104 = new WorkerUuidCount("104", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker105 = new WorkerUuidCount("105", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker106 = new WorkerUuidCount("106", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker107 = new WorkerUuidCount("107", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker108 = new WorkerUuidCount("108", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker109 = new WorkerUuidCount("109", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker110 = new WorkerUuidCount("110", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker111 = new WorkerUuidCount("111", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker112 = new WorkerUuidCount("112", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker113 = new WorkerUuidCount("113", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker114 = new WorkerUuidCount("114", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker115 = new WorkerUuidCount("115", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker116 = new WorkerUuidCount("116", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker117 = new WorkerUuidCount("117", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker118 = new WorkerUuidCount("118", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker119 = new WorkerUuidCount("119", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker120 = new WorkerUuidCount("120", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker121 = new WorkerUuidCount("121", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker122 = new WorkerUuidCount("122", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker123 = new WorkerUuidCount("123", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker124 = new WorkerUuidCount("124", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker125 = new WorkerUuidCount("125", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker126 = new WorkerUuidCount("126", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker127 = new WorkerUuidCount("127", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker128 = new WorkerUuidCount("128", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker129 = new WorkerUuidCount("129", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker130 = new WorkerUuidCount("130", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker131 = new WorkerUuidCount("131", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker132 = new WorkerUuidCount("132", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker133 = new WorkerUuidCount("133", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker134 = new WorkerUuidCount("134", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker135 = new WorkerUuidCount("135", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker136 = new WorkerUuidCount("136", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker137 = new WorkerUuidCount("137", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker138 = new WorkerUuidCount("138", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker139 = new WorkerUuidCount("139", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker140 = new WorkerUuidCount("140", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker141 = new WorkerUuidCount("141", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker142 = new WorkerUuidCount("142", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker143 = new WorkerUuidCount("143", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker144 = new WorkerUuidCount("144", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker145 = new WorkerUuidCount("145", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker146 = new WorkerUuidCount("146", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker147 = new WorkerUuidCount("147", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker148 = new WorkerUuidCount("148", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker149 = new WorkerUuidCount("149", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker150 = new WorkerUuidCount("150", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker151 = new WorkerUuidCount("151", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker152 = new WorkerUuidCount("152", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker153 = new WorkerUuidCount("153", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker154 = new WorkerUuidCount("154", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker155 = new WorkerUuidCount("155", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker156 = new WorkerUuidCount("156", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker157 = new WorkerUuidCount("157", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker158 = new WorkerUuidCount("158", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker159 = new WorkerUuidCount("159", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker160 = new WorkerUuidCount("160", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker161 = new WorkerUuidCount("161", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker162 = new WorkerUuidCount("162", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker163 = new WorkerUuidCount("163", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker164 = new WorkerUuidCount("164", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker165 = new WorkerUuidCount("165", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker166 = new WorkerUuidCount("166", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker167 = new WorkerUuidCount("167", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker168 = new WorkerUuidCount("168", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker169 = new WorkerUuidCount("169", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker170 = new WorkerUuidCount("170", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker171 = new WorkerUuidCount("171", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker172 = new WorkerUuidCount("172", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker173 = new WorkerUuidCount("173", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker174 = new WorkerUuidCount("174", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker175 = new WorkerUuidCount("175", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker176 = new WorkerUuidCount("176", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker177 = new WorkerUuidCount("177", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker178 = new WorkerUuidCount("178", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker179 = new WorkerUuidCount("179", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker180 = new WorkerUuidCount("180", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker181 = new WorkerUuidCount("181", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker182 = new WorkerUuidCount("182", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker183 = new WorkerUuidCount("183", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker184 = new WorkerUuidCount("184", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker185 = new WorkerUuidCount("185", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker186 = new WorkerUuidCount("186", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker187 = new WorkerUuidCount("187", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker188 = new WorkerUuidCount("188", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker189 = new WorkerUuidCount("189", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker190 = new WorkerUuidCount("190", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker191 = new WorkerUuidCount("191", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker192 = new WorkerUuidCount("192", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker193 = new WorkerUuidCount("193", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker194 = new WorkerUuidCount("194", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker195 = new WorkerUuidCount("195", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker196 = new WorkerUuidCount("196", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker197 = new WorkerUuidCount("197", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker198 = new WorkerUuidCount("198", (long)(Math.random() * 10000), countDownLatch);
        WorkerUuidCount worker199 = new WorkerUuidCount("199", (long)(Math.random() * 10000), countDownLatch);

        worker0.start();
        worker1.start();
        worker2.start();
        worker3.start();
        worker4.start();
        worker5.start();
        worker6.start();
        worker7.start();
        worker8.start();
        worker9.start();
        worker10.start();
        worker11.start();
        worker12.start();
        worker13.start();
        worker14.start();
        worker15.start();
        worker16.start();
        worker17.start();
        worker18.start();
        worker19.start();
        worker20.start();
        worker21.start();
        worker22.start();
        worker23.start();
        worker24.start();
        worker25.start();
        worker26.start();
        worker27.start();
        worker28.start();
        worker29.start();
        worker30.start();
        worker31.start();
        worker32.start();
        worker33.start();
        worker34.start();
        worker35.start();
        worker36.start();
        worker37.start();
        worker38.start();
        worker39.start();
        worker40.start();
        worker41.start();
        worker42.start();
        worker43.start();
        worker44.start();
        worker45.start();
        worker46.start();
        worker47.start();
        worker48.start();
        worker49.start();
        worker50.start();
        worker51.start();
        worker52.start();
        worker53.start();
        worker54.start();
        worker55.start();
        worker56.start();
        worker57.start();
        worker58.start();
        worker59.start();
        worker60.start();
        worker61.start();
        worker62.start();
        worker63.start();
        worker64.start();
        worker65.start();
        worker66.start();
        worker67.start();
        worker68.start();
        worker69.start();
        worker70.start();
        worker71.start();
        worker72.start();
        worker73.start();
        worker74.start();
        worker75.start();
        worker76.start();
        worker77.start();
        worker78.start();
        worker79.start();
        worker80.start();
        worker81.start();
        worker82.start();
        worker83.start();
        worker84.start();
        worker85.start();
        worker86.start();
        worker87.start();
        worker88.start();
        worker89.start();
        worker90.start();
        worker91.start();
        worker92.start();
        worker93.start();
        worker94.start();
        worker95.start();
        worker96.start();
        worker97.start();
        worker98.start();
        worker99.start();
        worker100.start();
        worker101.start();
        worker102.start();
        worker103.start();
        worker104.start();
        worker105.start();
        worker106.start();
        worker107.start();
        worker108.start();
        worker109.start();
        worker110.start();
        worker111.start();
        worker112.start();
        worker113.start();
        worker114.start();
        worker115.start();
        worker116.start();
        worker117.start();
        worker118.start();
        worker119.start();
        worker120.start();
        worker121.start();
        worker122.start();
        worker123.start();
        worker124.start();
        worker125.start();
        worker126.start();
        worker127.start();
        worker128.start();
        worker129.start();
        worker130.start();
        worker131.start();
        worker132.start();
        worker133.start();
        worker134.start();
        worker135.start();
        worker136.start();
        worker137.start();
        worker138.start();
        worker139.start();
        worker140.start();
        worker141.start();
        worker142.start();
        worker143.start();
        worker144.start();
        worker145.start();
        worker146.start();
        worker147.start();
        worker148.start();
        worker149.start();
        worker150.start();
        worker151.start();
        worker152.start();
        worker153.start();
        worker154.start();
        worker155.start();
        worker156.start();
        worker157.start();
        worker158.start();
        worker159.start();
        worker160.start();
        worker161.start();
        worker162.start();
        worker163.start();
        worker164.start();
        worker165.start();
        worker166.start();
        worker167.start();
        worker168.start();
        worker169.start();
        worker170.start();
        worker171.start();
        worker172.start();
        worker173.start();
        worker174.start();
        worker175.start();
        worker176.start();
        worker177.start();
        worker178.start();
        worker179.start();
        worker180.start();
        worker181.start();
        worker182.start();
        worker183.start();
        worker184.start();
        worker185.start();
        worker186.start();
        worker187.start();
        worker188.start();
        worker189.start();
        worker190.start();
        worker191.start();
        worker192.start();
        worker193.start();
        worker194.start();
        worker195.start();
        worker196.start();
        worker197.start();
        worker198.start();
        worker199.start();
        countDownLatch.await();
        System.out.println(map.size());
        if (map.size()!=2000000)
            System.out.println(key+", exception: "+map.size());
        map.clear();
//        WorkerCount worker2 = new WorkerCount("lilei-2", (long)(Math.random() * 10000), countDownLatch);
//        worker2.start();
//        Thread.sleep(10000);
    }

    public static String getUuid(){
        String uuid = "";
        synchronized (uuid){
            uuid = UUID.randomUUID().toString().replaceAll("-", "");
            return uuid;
        }
    }
}